builder: Allow text content in <lookup>
authorBenjamin Otte <otte@redhat.com>
Mon, 25 Nov 2019 07:06:45 +0000 (08:06 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 May 2020 23:26:44 +0000 (19:26 -0400)
commit713a6676ff3789235b7e5ab0d15f9e3376af0972
tree964cd4d0b7210257fe123cbb6b6abc345e026d8e
parent448a88e4f5dc2117a1e2aa4de5a10abbe57b1587
builder: Allow text content in <lookup>

  <lookup>foo</lookup>
is now short for
  <lookup>
    <constant>foo</constant>
  </lookup>
ie it looks up the object with the given name so it can then do a
property lookup with it.

This is the most common operation, so it's a nice shortcut.
gtk/gtkbuilderparser.c